package com.fishery.search.entity;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@TableName("t_disease_diagnose")
@ApiModel(value = "疾病诊断实体类")
public class Diagnose implements Serializable {

	@ApiModelProperty(value = "id")
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty(value = "用户ID")
	private String userId;

	@ApiModelProperty(value = "用户名")
	private String username;

	@ApiModelProperty(value = "病名")
	private String diseaseName;

	@ApiModelProperty(value = "症状")
	private String symptom;

	@ApiModelProperty(value = "解决方法")
	private String solution;

	@ApiModelProperty(value = "图片")
	private String picture;

	@ApiModelProperty(value = "创建时间", hidden = true)
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间", hidden = true)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

	@ApiModelProperty(value = "逻辑删除", hidden = true)
	@TableField(fill = FieldFill.INSERT)
	@TableLogic
	private Integer isDeleted;

	@ApiModelProperty(value = "阅读量", hidden = true)
	@TableField(fill = FieldFill.INSERT)
	private Long readAmount;


	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Long getReadAmount() {
		return readAmount;
	}

	public void setReadAmount(Long readAmount) {
		this.readAmount = readAmount;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDiseaseName() {
		return diseaseName;
	}

	public void setDiseaseName(String diseaseName) {
		this.diseaseName = diseaseName;
	}

	public String getSymptom() {
		return symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public String getSolution() {
		return solution;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
}
